﻿@model Commission.Models.Product
@using MyResources = Commission.Resources.AppResource

@{
    ViewBag.Title = "Details";
}

<style type="text/css">
    dt {
        float: left;
        width: 100px;
        padding: 4px;
        text-align: left;
    }

    dd {
        margin-left: 100px;
        padding: 4px;
    }
</style>

<h2>@MyResources.LabelProductDetail</h2>

<div>
    <dl class="dl-horizontal">
        <dt>
            @Html.DisplayNameFor(model => model.Unit.UnitName)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.Unit.UnitName)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.ProductNo)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.ProductNo)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.ProductName)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.ProductName)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.FileName)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.FileName)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.Price)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.Price)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.PPPoint)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.PPPoint)
        </dd>

        <dt>
            @Html.DisplayNameFor(model => model.Note)
        </dt>

        <dd>
            @Html.DisplayFor(model => model.Note)
        </dd>

    </dl>
</div>
<p>
    @Html.ActionLink("Edit", "Edit", new { id = Model.ProductId }) |
    @Html.ActionLink("Back to List", "Index")
</p>
